package com.zdp.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author sesshomaru
 * @date 2021/7/19
 */
@RestController
public class ShopCartController {

    @GetMapping("/shopcart/remove")
    public String remove(Integer productId, Integer userId) {
        return "从用户"+ userId + "的购物车中， 移除商品 " + productId + "成功";
    }
}
